/**
 * 
 */
package furniture.items3d.model;

import javax.vecmath.Point3d;
import javax.vecmath.Vector3d;

import org.eclipse.swt.graphics.RGB;

/**
 * Defines a pipe-shaped object in the model. It can be a cable
 * or actually a pipe.
 * @author Grill Balazs (balage.g@gmail.com)
 *
 */
public class PipePrimitive extends LayedPrimitive{

	/**
	 * A point on the pipe axis
	 */
	public Point3d point;
	
	/**
	 * Direction of the axis
	 */
	public Vector3d dir;
	
	/**
	 * Inner diameter in mm-s
	 */
	public double innerDiameter;
	
	/**
	 * Outer diameter in mm-s
	 */
	public double outerDiameter;
	
	/**
	 * Body color of pipe.
	 */
	public RGB color = new RGB(0, 0, 255);
	
	
}
